import Vue from 'vue'
import VueRouter from 'vue-router'
import ShowImage from '@/views/ShowImage'
import ShowListImage from '@/views/ShowListImage'
import RecognizeImage from '@/views/RecognizeImage'
import RecognizeListImage from '@/views/RecognizeListImage'
import DrawingBoard from '@/views/DrawingBoard'
import ReImage from '@/views/ReImage'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: '展示图像',
    component: ShowImage
  },
  {
    path: '/ShowListImage',
    name: '展示点序列',
    component: ShowListImage
  },
  {
    path: '/RecognizeImage',
    name: '识别图像',
    component: RecognizeImage
  },
  {
    path: '/RecognizeListImage',
    name: '识别点序列',
    component: RecognizeListImage
  },
  {
    path: '/DrawingBoard',
    name: '画板',
    component: DrawingBoard
  },
  {
    path: '/ReImage',
    name: '识别',
    component: ReImage
  }
]

const router = new VueRouter({
  routes
})

export default router
